.action-btn-group {
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;

    .divider-style {
        height: 100%;
        border-left: 1px solid var(--Colors-Use-Neutral-Border);
        margin: 0 12px;
    }
    .icon-style {
        color: var(--Colors-Use-Neutral-Text-1-Title);
        svg {
            width: 16px;
            height: 16px;
        }
    }
    .icon-style:hover {
        color: var(--Colors-Use-Main-Primary);
    }
}

.portAsset-content {
    display: flex;
    height: 100%;
    width: 100%;
}
.portAsset {
    padding: 12px 16px 8px;
    flex: 1;
    overflow: hidden;
    display: flex;
    flex-flow: column;
    height: 100%;
    .portAsset-head {
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: var(--Colors-Use-Neutral-Text-1-Title);
        font-size: 12px;

        .head-title {
            font-weight: 600;
            font-size: 16px;
            line-height: 24px;
        }
        .head-extra {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            .port-table-badge {
                .refresh-button {
                    cursor: pointer;
                    border-radius: 4px;
                    width: 32px;
                    height: 24px;
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    margin-left: 8px;
                    .refresh-icon {
                        color: var(--Colors-Use-Neutral-Text-1-Title);
                        svg {
                            width: 16px;
                            height: 16px;
                        }
                    }
                    &:hover {
                        background-color: var(--Colors-Use-Neutral-Bg);
                        .refresh-icon {
                            color: var(--Colors-Use-Main-Primary);
                        }
                    }
                }
            }
        }
    }
    .port-table-title {
        border-bottom: 0;
        padding: 8px 0;
    }
}
.table-head-send-popover {
    :global {
        .ant-popover-placement-bottom,
        .ant-popover-placement-bottomLeft,
        .ant-popover-placement-bottomRight {
            padding-top: 5px;
        }
        .ant-popover-inner-content {
            padding: 8px 4px;
            padding-bottom: 4px;
        }
    }
}
.portAsset-query {
    display: flex;
    flex-direction: column;
    min-width: 300px;
    max-width: 300px;
    border-left: 1px solid var(--Colors-Use-Neutral-Border);
    overflow: hidden;
    .portAsset-query-loading {
        overflow: hidden;
    }
    .query-head {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 16px 13px 12px 12px;
        border-bottom: 1px solid var(--Colors-Use-Neutral-Border);
        height: 44px;
        font-size: 12px;
        line-height: 16px;
        color: var(--Colors-Use-Neutral-Text-1-Title);
    }
    .query-collapse {
        flex: 1;
        overflow: auto;

        :global {
            .ant-collapse-content-box {
                padding: 0 4px 12px !important;
            }
            .ant-collapse-item .ant-collapse-header {
                padding-left: 12px;
                padding-right: 10px;
            }
            .ant-collapse-item:first-child > .ant-collapse-header {
                border-top: 0;
            }
        }
        .port-group-remove {
            padding-right: 4px;
        }
        .list-item {
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-radius: 4px;
            cursor: pointer;
            padding: 6px 12px 8px 8px;
            color: var(--Colors-Use-Neutral-Text-1-Title);
            &:hover {
                background-color: var(--Colors-Use-Neutral-Bg);
            }
            .list-item-left {
                display: flex;
                align-items: center;
                gap: 12px;
                overflow: hidden;
                margin-right: 12px;
                text-transform: capitalize;
                padding-left: 2px;
            }
            .list-item-extra {
                color: var(--Colors-Use-Neutral-Disable);
            }
        }
        .list-item-active {
            color: var(--Colors-Use-Main-Primary);
            .list-item-extra {
                color: var(--Colors-Use-Main-Primary);
            }
        }
    }
}

.context-menu-remove {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    flex: 1;
    line-height: 16px;
    .number {
        color: var(--Colors-Use-Neutral-Disable);
        font-size: 12px;
    }
    &:hover {
        .number {
            color: var(--Colors-Use-Neutral-Text-1-Title);
        }
    }
}

.port-description {
    // margin: 12px 16px;
    border: 1px solid var(--Colors-Use-Neutral-Border);
    border-radius: 4px;
    overflow-y: overlay;
    height: 100%;
}
